import setRemCfg from '@/utils/rem/resetRem.js'
import { setPrefix } from '@/utils/resetPrefix.js'

export function beforeRouteEntry(to) {
    const remType = to.meta && to.meta.remType;
    setRemCfg(remType);
    setPrefix(to.path);
    return true
}